import request from '@/utils/http'

/*
params: {
	orderState:0,
  page:1,
  pageSize:2
}
*/
/**
 * 
 * @param params 
 * @returns 
 */
interface Params {
  orderState:number,
  page:number,
  pageSize:number
}
export const getUserOrder = (params:Params) => {
  return request({
    url:'/member/order',
    method:'GET',
    params
  })
}